import request from '@/utils/request.js'

 async function getList(params) {
    try {
        let res = await request.get('/tag/list', { params })        
        return res.data;
    } catch (error) {
        console.error(error);
        throw error;
    }
 }

export default {
    getList
}